package com.rzcoding.dao;

import com.rzcoding.entity.Permission;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PermissionMapper extends Mapper<Permission> {
    @Select("select * from permission order by `level` ")
    List<Permission> selectOrderLevel();

    @Select("select id from permission ")
    List<Integer> selectIds();
}
